import React, { Component } from 'react'
import { Link, Route } from 'react-router-dom'

export default class Movie extends Component {
  render() {
    return (
      <div>
        <Link to="/movie/hotshowing">热映</Link>
        &nbsp;
        <Link to="/movie/comingsoon">待映</Link>
        &nbsp;
        <Link to="/movie/theater">影院</Link>


        <Route path="/movie/hotshowing">
          <h1>热映的内容</h1>
        </Route>

        <Route path="/movie/comingsoon">
          <h1>待映的内容</h1>
        </Route>

        <Route path="/movie/theater">
          <h1>影院的内容</h1>
        </Route>



      </div>
    )
  }
}
